#include "BSTree.h"

int main()
{
	BSTree<int> bs;
	int a[] = { 8, 3, 1, 10, 6, 4, 7, 14, 13 };
	for (auto e : a)
	{
		bs.Insert(e);
	}

	bs.InOrder();

	for (auto e : a)
	{
		bs.Erase(e);
	}
	bs.Insert(6);


	bs.InOrder();
	return 0;
}